package com.lm.dao;

import java.util.List;

import com.lm.model.Discount;

public interface DiscountDAO {
	public void addDiscount(Discount discount) throws Throwable ;

	public void editDiscount(Discount discount, String discountID)
			throws Throwable ;

	public void editDiscount(String mount, String productID, double totalPrice,
			double totalDisBid) throws Throwable ;

	public List getAllDiscountInfo() throws Throwable ;

	public Discount getDiscountInfoByProductID(String productID)
			throws Throwable ;

	public boolean getDiscountByTypeIDAndBrandID(String typeID, String brandID)
			throws Throwable ;

	public void deleteDiscountByTypeIDAndBrandID(String typeID, String brandID)
			throws Throwable ;

	public void deleteDiscountByProductID(int proID) throws Throwable;


}
